document.write('<'+'script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script'+'>');
function showUp() {
		dnotice('<iframe height="40" name="uploadF" id="upload" width="500" style="border:none" src="http://gta-sa.5d6d.net/plugin.php?upload.html"></iframe>', null, '500', '150');
		$('floatwin_confirm_title').innerHTML = '千脑云上传';
}
if($('post')){
	function showInfo(){
		$('attachinfo').style.display = 'block';
		jQuery('#attachinfo .cornerlayger').html('<strong>千脑云上传</strong>是虚拟世界-<a href="http://large.5d6d.net">Studio!</a>的插件产品,是<strong>千脑</strong>为您提供的优质存储空间');
		$('attachinfo').style.marginLeft = '180px';
	}
	function hideInfo(){
		$('attachinfo').style.marginLeft = '0px';
		$('attachinfo').style.display = 'none';
		jQuery('#attachinfo .cornerlayger').html(infoHtml)
	}
	var infoHtml = jQuery('#attachinfo .cornerlayger').html();
	jQuery('#more_2').append('<a href="javascript:;" onclick="showUp()" onmouseover="showInfo()" onmouseout="hideInfo()">上传到网盘</a>')
}
if($('viewthread')){
		$('fastpostsubmit').outerHTML += '<a style="color:red;underline:none;margin-left:10px" href="javascript:;" onclick="showUp()">上传到网盘</a>'
}
function showWindowUp(){
	var s = setInterval(function(){
		if($('editorbox')){
			clearTimeout(s);
			jQuery('#more_2').after('<a id="uploadBth" href="javascript:;" onclick="showUp()" onmouseover="showInfo()" onmouseout="hideInfo()">上传到网盘</a>');
		};
	},50)
}
jQuery('#newspecial,#postbtn,.replybtn,.fastreply,.repquote,.editpost,.editor_tb .right a').click(function(){
	showWindowUp();
})

if(location.href == 'http://gta-sa.5d6d.net/plugin.php?upload.html'){
	document.getElementsByTagName('body')[0].innerHTML = '';
	document.writeln("<style> input{border:1px solid #ccc;} div {width:300px;position:relative;} p {float:left} .file {position:absolute;top:20px;right:300px;top:0; right:73px;width:0px;height:30px;filter:alpha(opacity=0); -moz-opacity:0;opacity:0;} #txt {height:20px;margin:1px} #ii {width:70px;height:24px;margin-top:1px; margin- top:2px;_margin-top:2px;} </style> <form action=\"http://up.qiannao.com//view? module=upload&action=dzUploadSave&userId=common&uploadId=common_1358675306709&dlg=\" method=\"post\" enctype=\"multipart/form-data\" name=\"fileUploadForm\"> <input type=\"file\" name=\"file\" id=\"file\"/> <input type=\"submit\" name=\"submit\" id=\"upin\" value=\"上传\" /> </form> <script> function $(id){return document.getElementById(id)}; $(\'upin\').onclick = function(){ var $file = $(\'file\').value.split(\'////\'); $(\'upload\').height = \'80\'; } </script>");
}